<?php

namespace app\wxapi\model;

use think\Model;
use Carbon\Carbon;
use app\common\traits\model\TraitModel;

class IntergrateOrders extends Model
{

    protected $table = 'intergrateadd';
    
    use TraitModel;

    public function createIntergrateOrder($intergrate_order_info)
    {
        return self::create($intergrate_order_info, true);
    }

    public function getOrderInfo($order_id)
    {
    	return self::get($order_id);
    }
}